package com.kl.forum.enums;

public enum SortCriteria {

    ASCTIME("1","正序时间"),
    DESCTIME("2","倒叙时间"),
    DESCLIGHT("3","点赞数倒叙");
    private final String code;
    private final  String msg;

    SortCriteria(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}


